#ifndef _SKIN_FONT_H_
#define _SKIN_FONT_H_

#include "SkinElement.h"

class CNateRenderer;

class CSkinFont : public CSkinElement
{
public:
	CSkinFont()
	{
		m_bSingleLine = TRUE;
		m_bVCenter = TRUE;
		m_bEndEllipsis = TRUE;
		m_clrText = RGB(0,0,0);
	}

	CString m_strText;
	CFont m_font;

	BOOL m_bSingleLine;
	BOOL m_bVCenter;
	BOOL m_bEndEllipsis;
	COLORREF m_clrText;
	
	SIZE m_sizeMarginLT;
	SIZE m_sizeMarginRB;
public:
	virtual void Render(CNateRenderer * pImage);
	virtual BOOL Load(TiXmlNode * pNode);
};

#endif